#!/bin/bash
# [基础认证信息]
login_user='root'
login_pass='1'

# [基础目录信息]
root_dir=$(dirname $PWD)
con_dir="${root_dir}/conf"
images_dir="${root_dir}/images"
scripts_dir="${root_dir}/scripts"
soft_dir="${root_dir}/soft"
yaml_dir="${root_dir}/yaml"
subfunc_dir="${scripts_dir}/subfunc"
service_conf_dir="/etc/systemd/system"
service_bin_dir='/usr/local/bin'
# [基础文件信息]
host_name='hosts'
host_target_dir='/etc'
host_file="${host_target_dir}/${host_name}"

# [脚本通用功能函数文件]
base_func_usage='base_func_usage.sh'
base_func_menu='base_func_menu.sh'
base_func_exec='base_func_exec.sh'

# [子功能脚本文件]
base_env_scripts='02_remote_host_auth.sh'
base_kernel_scripts='03_kubernetes_kernel_conf.sh'
base_docker_scripts='04_kubernetes_docker_install.sh'
base_cri_docker_scripts='05_kubernetes_cri_docker_install.sh'


# [通用配置]
target_net='10.15.0'

# [cri软件信息]
cri_version='0.3.2'
cri_name='cri-dockerd'
cri_softs_name="${cri_name}-${cri_version}.amd64.tgz"
cri_softs_site="https://github.com/Mirantis/${cri_name}/releases/download"
cri_softs_url="${cri_softs_site}/v${cri_version}/${cri_softs_name}"
cri_service_conf="${cri_name}.service"
cri_socket_conf="${cri_name}.socket"

